import React from 'react';
import ReactDOM from 'react-dom';
import {ConfigProvider} from 'antd';
import {HashRouter} from "react-router-dom";
import {Provider} from 'mobx-react';
import zh_CN from "antd/lib/locale-provider/zh_CN";
import MainRouter from './router';
import store from "./store";
import reportWebVitals from './reportWebVitals';
import "antd/dist/antd.less";
import "./styles/base_style.less";
ReactDOM.render(
    <ConfigProvider locale={zh_CN}>
        <Provider {...store}>
            <HashRouter>
                <MainRouter />
            </HashRouter>
        </Provider>
    </ConfigProvider>,
  document.getElementById("root")
);
reportWebVitals();
